Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9f9e6f2
->36a4ff3
15.0.0-rc.4
->15.0.0
9c736a6
->15abe38
3f5d149
->507f9eb
14.2.7
->15.0.0
d88b9be
->bd12824
^14.0.0
->^15.0.0
15.0.0-rc.4
->15.0.0
67a06d4
->f418d12
15.0.0-rc.4
->15.0.0
a0ff164
->0b6868b
15.0.0-rc.4
->15.0.0
bf50219
->23def6a
^14.0.0
->^15.0.0
15.0.0-rc.4
->15.0.0
5d01063
->57ceb79
15.0.0-rc.4
->15.0.0
adf7f2c
->4d252ac
e67e39c
->f67d405
15.0.0-rc.4
->15.0.0
448a651
->8cb45d0
14.2.7
->15.0.0
00bddab
->6a715ef
eee0121
->d33ce23
59476fb
->bbf8824
15.0.0-rc.4
->15.0.0
7a55d4d
->b612428
15.0.0-rc.4
->15.0.0
4c98ba4
->6c4ed63
15.0.0-rc.4
->15.0.0
c0a9764
->34e061c
15.0.0-rc.4
->15.0.0
48c8e2a
->734d42f
15.0.0-rc.4
->15.0.0
0c06b3d
->eb2379b
π‘ If you wish to disable git hash updates, add
":disableDigestUpdates"
to the extends array in your config.Release Notes
angular/angular
v15.0.0
Compare Source
Blog post "Angular v15 is now available".
Breaking Changes
compiler
Keyframes names are now prefixed with the component's "scope name".
For example, the following keyframes rule in a component definition,
whose "scope name" is host-my-cmp:
@βkeyframes foo { ... }
will become:
@βkeyframes host-my-cmp_foo { ... }
Any TypeScript/JavaScript code which relied on the names of keyframes rules
will no longer match.
The recommended solutions in this case are to either:
None
orShadowDom
compiler-cli
Invalid constructors for DI may now report compilation errors
When a class inherits its constructor from a base class, the compiler may now
report an error when that constructor cannot be used for DI purposes. This may
either be because the base class is missing an Angular decorator such as
@Injectable()
or@Directive()
, or because the constructor contains parameterswhich do not have an associated token (such as primitive types like
string
).These situations used to behave unexpectedly at runtime, where the class may be
constructed without any of its constructor parameters, so this is now reported
as an error during compilation.
Any new errors that may be reported because of this change can be resolved either
by decorating the base class from which the constructor is inherited, or by adding
an explicit constructor to the class for which the error is reported.
Angular compiler option
enableIvy
has been removed as Ivy is the only rendering engine.core
14.[15-19].x
and16.[10-12].x
. Current supported versions of Node.js are14.20.x
,16.13.x
and18.10.x
.src
orsrcdoc
preceding other attributes. Such usages may need to be updated to ensure compliance with the new stricter rules around iframe bindings.forms
ControlValueAccessor
is attached. You can opt-out withFormsModule.withConfig
orReactiveFormsModule.withConfig
.localize
canParse
method has been removed from all translation parsers in@angular/localize/tools
.analyze
should be used instead.hint
parameter in theparse
methods is now mandatory.router
RouterOutlet
would immediatelyinstantiate the component being activated during navigation. Now the
component is not instantiated until the change detection runs. This
could affect tests which do not trigger change detection after a router
navigation. In rarer cases, this can affect production code that relies
on the exact timing of component availability.
relativeLinkResolution
is no longer configurable inthe Router. This option was used as a means to opt out of a bug fix.
Deprecations
common
DATE_PIPE_DEFAULT_TIMEZONE
token is now deprecated in favorof the
DATE_PIPE_DEFAULT_OPTIONS
token, which accepts an objectas a value and the timezone can be defined as a field (called
timezone
)on that object.
core
NgModule
to theprovidedIn
option for@Injectable
andInjectionToken
is now deprecated.providedIn: NgModule
was intended to be a tree-shakable alternative toNgModule providers. It does not have wide usage, and in most cases is used
incorrectly, in circumstances where
providedIn: 'root'
should bepreferred. If providers should truly be scoped to a specific NgModule, use
NgModule.providers
instead.providedIn: 'any'
for an@Injectable
orInjectionToken
is now deprecated.providedIn: 'any'
is an option with confusing semantics and is almostnever used apart from a handful of esoteric cases internal to the framework.
The bit field signature of
Injector.get()
has been deprecated, in favor of the new options object.The bit field signature of
TestBed.inject()
has been deprecated, in favor of the new options object.router
RouterLinkWithHref
directive is deprecated, use theRouterLink
directive instead. TheRouterLink
contains the code from theRouterLinkWithHref
to handle elements withhref
attributes.common
provideLocationMocks()
function to provide Location mocks (#β47674)rawSrc
->ngSrc
in NgOptimizedImage directive (#β47362)compiler
compiler-cli
strictInjectionParameters
requirement (#β44615)enableIvy
options (#β47346)core
providedIn: NgModule
andprovidedIn: 'any'
(#β47616)isDevMode
to rely onngDevMode
(#β47475)forms
setDisabledState
onControlValueAcessor
when control is enabled (#β47576)http
HttpClient
s to request via parents (#β47502)provideHttpClientTesting
provider function (#β47502)provideHttpClient()
API (#β47502)undefined
XSRF tokens (#β47683)withLegacyInterceptors
towithInterceptorsFromDi
(#β47901)language-service
localize
canParse
method from TranslationParsers (#β47275)platform-server
router
relativeLinkResolution
usages (#β47604)RouterLinkWithHref
intoRouterLink
(#β47630)RouterLinkWithHref
references toRouterLink
(#β47599)provideRouter()
from usage in @βComponent (#β47669)Special Thanks
Alan Agius, AleksanderBodurri, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Charles Lyding, Dylan Hunn, Ferdinand Malcher, George Kalpakas, Jeremy Elbourn, Jessica Janiuk, JiaLiPassion, Joey Perrott, JoostK, Kara Erickson, Kristiyan Kostadinov, Martin Probst, Matthias WeiΓ, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Sabareesh Kappagantu, WD Snoeijer, angular-robot[bot], arturovt, ced, dario-piotrowicz, ivanwonder and jaybell
angular/components
v15.0.0
Compare Source
Breaking Changes
material
mat-autocomplete
mat-button
mat-fab
mat-icon-button
mat-card
mat-chip-list
(now split into the following three components:mat-chip-set
,mat-chip-listbox
, andmat-chip-grid
to better represent the different interaction patterns)mat-option
mat-optgroup
mat-dialog
(passing strings for MatDialogConfig.enterAnimationDuration andMatDialogConfig.exitAnimationDuration is deprecated, pass numbers
in ms instead)
mat-action-list
mat-list
mat-list-item
mat-list-option
mat-nav-list
mat-selection-list
mat-menu
mat-radio-group
mat-radio-button
mat-select
mat-slide-toggle
mat-slider
(has a new API that requires a<input matSliderThumb>
element)mat-snack-bar
mat-table
mat-tabs
how to migrate your app: https://material.angular.io/guide/mdc-migration.
MDC-based button implementation. They have different CSS classes and
styles, so custom style overrides may need to be updated.
material-luxon-adapter
MatLuxonDateModule
now requires at least version 3 of Luxon.Deprecations
material
mat-datepicker
are deprecated because they are not used.cdk
material
this
rather than concrete classes in the harnesses (#β25482)Configuration
π Schedule: Branch creation - "after 10:00pm every weekday,before 4:00am every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.